package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 问卷
 * @author yeyong
 */
@TableName("bhyf_bdb_question")
public class BhyfBdbQuestion implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableId(value = "学生ID")
    @ApiModelProperty(value = "学生ID")
    private Integer personid;

    @ApiModelProperty(value = "班级ID")
    private Integer classid;

    @ApiModelProperty(value = "温度")
    private Float temp;

    @ApiModelProperty(value = "填表日期")
    private String checkdate;

    @ApiModelProperty(value = "问题A")
    private Integer questa;

    @ApiModelProperty(value = "问题B")
    private Integer questb;

    @ApiModelProperty(value = "问题C")
    private Integer questc;

    @ApiModelProperty(value = "备注内容")
    private String contents;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "班名")
    private String classname;

    @ApiModelProperty(value = "年级")
    private Integer gradenum;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public Integer getPersonid() {
        return personid;
    }

    public void setPersonid(Integer personid) {
        this.personid = personid;
    }

    public Float getTemp() {
        return temp;
    }

    public void setTemp(Float temp) {
        this.temp = temp;
    }

    public String getCheckdate() {
        return checkdate;
    }

    public void setCheckdate(String checkdate) {
        this.checkdate = checkdate;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getQuesta() {
        return questa;
    }

    public void setQuesta(Integer questa) {
        this.questa = questa;
    }

    public Integer getQuestb() {
        return questb;
    }

    public void setQuestb(Integer questb) {
        this.questb = questb;
    }

    public Integer getQuestc() {
        return questc;
    }

    public void setQuestc(Integer questc) {
        this.questc = questc;
    }

    public Integer getGradenum() {
        return gradenum;
    }

    public void setGradenum(Integer gradenum) {
        this.gradenum = gradenum;
    }

    @Override
    public String toString() {
        return "bhyf_bdb_question{" +
                "id=" + id +
                ", personid=" + personid +
                ", classid=" + classid +
                ", temp=" + temp +
                ", checkdate=" + checkdate +
                ", questa=" + questa +
                ", questb=" + questb +
                ", questc=" + questc +
                ", contents=" + contents +
                ", name=" + name +
                ", phone=" + phone +
                ", createtime=" + createtime +
                ", gradenum=" + gradenum +
                ", classname=" + classname +
                "}";
    }
}
